package cn.edu.scau.cmi.lixiaoyuan.abstractFactory.factory;

import cn.edu.scau.cmi.lixiaoyuan.abstractFactory.domainAbstract.Meat;

public abstract class AbstractFactory {
       public static AbstractFactory getFactory(String brand) {
    	   switch(brand) {
    	   case "Wens":
    		   return new WensFactory();
    	   case "Aonong":
    		   return new AonongFactory(); 
    	   case "Tianbang":
    		   return new TianbangFactory();
    		   
    	   }
		return null;
    	   
       }
       public abstract Meat creatPork();
       public abstract Meat creatBeef();
       public abstract Meat creatChicken();
}
